/**
 * 
 */
package com.maywide.jdp.system.vo;

import com.google.gson.annotations.Expose;

/**
 * @author luoyang
 * 
 */
public class Task {
	@Expose
	private String id = null;
	@Expose
	private String text = null;
	@Expose
	private String icon = null;
	@Expose
	private String iconCls = null;
	@Expose
	private String handler = null;
	@Expose
	private String scope = "this";
	@Expose
	private boolean disabled = false;
	@Expose
	private boolean hidden = false;

	public Task() {
	}

	public Task(String id, String text, String icon,String iconCls,
			String handler, String scope) {
		this.id = id;
		this.text = text;
		this.icon = icon;
		this.iconCls = iconCls;
		this.handler = handler;
		this.scope = scope;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setText(String text) {
		this.text = text;
	}

	/**
	 * @return the icon
	 */
	public String getIcon() {
		return icon;
	}

	/**
	 * @param icon
	 *            the icon to set
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}

	/**
	 * @return the handler
	 */
	public String getHandler() {
		return handler;
	}

	/**
	 * @param handler
	 *            the handler to set
	 */
	public void setHandler(String handler) {
		this.handler = handler;
	}

	/**
	 * @return the scope
	 */
	public String getScope() {
		return scope;
	}

	/**
	 * @param scope
	 *            the scope to set
	 */
	public void setScope(String scope) {
		this.scope = scope;
	}

	/**
	 * @return the disabled
	 */
	public boolean isDisabled() {
		return disabled;
	}

	/**
	 * @param disabled the disabled to set
	 */
	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
	}

	/**
	 * @return the hidden
	 */
	public boolean isHidden() {
		return hidden;
	}

	/**
	 * @param hidden the hidden to set
	 */
	public void setHidden(boolean hidden) {
		this.hidden = hidden;
	}

	/**
	 * @return the iconCls
	 */
	public String getIconCls() {
		return iconCls;
	}

	/**
	 * @param iconCls the iconCls to set
	 */
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

}
